N = 9

# 打印逆序倒三角乘法表
for i in range(N, 0, -1):
    for j in range(N, i, -1):
        print(end="       ")
    for m in range(i,0,-1):
        print('{0}*{1}={2:2d}'.format(i,m,i*m),end=" ")
    print(end="\n")


